  <div id="content">
         <div id="tuvan">
            <div id="title">
               <span id="linhvuc"> Lĩnh vực tư vấn :</span>
               <img src="/img/cham.png" />
               <span id="tatcalinhvuc">Tất cả lĩnh vực</span>
            </div>
            <div id="detail">
               <div id="lop10">
                  <div class="category">Toán</div>
                  <div class="category">Lý</div>
                  <div class="category">Hóa</div>
                  <div class="category">Văn</div>
                  <div class="category">Sinh</div>
                  <div class="category">Sử</div>
                  <div class="category">Địa</div>
                  <div class="category">Anh</div>
               </div>
               <div id="lop11">
                  <div class="category">Toán</div>
                  <div class="category">Lý</div>
                  <div class="category">Hóa</div>
                  <div class="category">Văn</div>
                  <div class="category">Sinh</div>
                  <div class="category">Sử</div>
                  <div class="category">Địa</div>
                  <div class="category">Anh</div>
               </div>
               <div id="lop12">
                  <div class="category">Toán</div>
                  <div class="category">Lý</div>
                  <div class="category">Hóa</div>
                  <div class="category">Văn</div>
                  <div class="category">Sinh</div>
                  <div class="category">Sử</div>
                  <div class="category">Địa</div>
                  <div class="category">Anh</div>
               </div>
            </div>
            <div id="tenlop">
               <ul>
                  <li>Lớp 10</li>
                  <li>Lớp 11</li>
                  <li>Lớp 12</li>
               </ul>
            </div>
         </div>
         <?php /*?>
           <table id="chuyengia" style="border-spacing: 0px;">
         
           <tr>
           	<td colspan="2">
           		<div class="title">
               <img src="/img/cham.png" />
               <span id="binhchon" class="items">Bình Chọn</span>
               <span class="items">Phí theo Lượt</span>
               <span class="items">Phí theo phút</span>
               <span class="items">Miễn phí</span>
               <span class="items">Mới Nhất</span>
               <span class="items">Quan tâm</span>
            </div>
           	</td>
           </tr>
           		<tr >
           			<td class="person person-border person-border-top">
			               <div id="ava">
			                  <img src="/img/ava.jpg" />
			               </div>
			               <div class="text">
			                  <span class="name">Huong Giang</span><br />
			                  <span class="job">Hi?n dang là sinh viên tru?ng Ð?i h?c.</span><br />
			                  <img src="/img/star.jpg" />
			                  <span style="color: #ff8637">125 </span><span>Bình ch?n </span><span style="color: #ff8637">110 </span><span>Bình lu?n</span>
			               </div>
			               <div class="price">
			                  <span style="color: #ff8637;font-weight: bold;" >2.200d</span><br />
			                  <span>&nbsp&nbsp&nbsp Phút</span>
			               </div>
           			</td>
           			<td class="person person-border-top" >
			               <div id="ava">
			                  <img src="/img/ava.jpg" />
			               </div>
			               <div class="text">
			                  <span class="name">Huong Giang</span><br />
			                  <span class="job">Hi?n dang là sinh viên tru?ng Ð?i h?c.</span><br />
			                  <img src="/img/star.jpg" />
			                  <span style="color: #ff8637">125 </span><span>Bình ch?n </span><span style="color: #ff8637">110 </span><span>Bình lu?n</span>
			               </div>
			               <div class="price">
			                  <span style="color: #ff8637;font-weight: bold;" >2.200d</span><br />
			                  <span>&nbsp&nbsp&nbsp Phút</span>
			               </div>
           			</td>
           		</tr>
           		
           		<tr >
           			<td class="person person-border person-border-top">
			               <div id="ava">
			                  <img src="/img/ava.jpg" />
			               </div>
			               <div class="text">
			                  <span class="name">Huong Giang</span><br />
			                  <span class="job">Hi?n dang là sinh viên tru?ng Ð?i h?c.</span><br />
			                  <img src="/img/star.jpg" />
			                  <span style="color: #ff8637">125 </span><span>Bình ch?n </span><span style="color: #ff8637">110 </span><span>Bình lu?n</span>
			               </div>
			               <div class="price">
			                  <span style="color: #ff8637;font-weight: bold;" >2.200d</span><br />
			                  <span>&nbsp&nbsp&nbsp Phút</span>
			               </div>
           			</td>
           			<td class="person person-border-top" >
			               <div id="ava">
			                  <img src="/img/ava.jpg" />
			               </div>
			               <div class="text">
			                  <span class="name">Huong Giang</span><br />
			                  <span class="job">Hi?n dang là sinh viên tru?ng Ð?i h?c.</span><br />
			                  <img src="/img/star.jpg" />
			                  <span style="color: #ff8637">125 </span><span>Bình ch?n </span><span style="color: #ff8637">110 </span><span>Bình lu?n</span>
			               </div>
			               <div class="price">
			                  <span style="color: #ff8637;font-weight: bold;" >2.200d</span><br />
			                  <span>&nbsp&nbsp&nbsp Phút</span>
			               </div>
           			</td>
           		</tr>
           		
           		
           		<tr >
           			<td class="person person-border person-border-top" >
			               <div id="ava">
			                  <img src="/img/ava.jpg" />
			               </div>
			               <div class="text">
			                  <span class="name">Huong Giang</span><br />
			                  <span class="job">Hi?n dang là sinh viên tru?ng Ð?i h?c...</span><br />
			                  <img src="/img/star.jpg" />
			                  <span style="color: #ff8637">125 </span><span>Bình ch?n </span><span style="color: #ff8637">110 </span><span>Bình lu?n</span>
			               </div>
			               <div class="price">
			                  <span style="color: #ff8637;font-weight: bold;" >2.200d</span><br />
			                  <span>&nbsp&nbsp&nbsp Phút</span>
			               </div>
           			</td>
           			<td class="person person-border-top">
			               <div id="ava">
			                  <img src="/img/ava.jpg" />
			               </div>
			               <div class="text">
			                  <span class="name">Huong Giang</span><br />
			                  <span class="job">Hi?n dang là sinh viên tru?ng Ð?i h?c...</span><br />
			                  <img src="/img/star.jpg" />
			                  <span style="color: #ff8637">125 </span><span>Bình ch?n </span><span style="color: #ff8637">110 </span><span>Bình lu?n</span>
			               </div>
			               <div class="price">
			                  <span style="color: #ff8637;font-weight: bold;" >2.200d</span><br />
			                  <span>&nbsp&nbsp&nbsp Phút</span>
			               </div>
           			</td>
           		</tr>
           </table> 
<?php */  ?>
     <div id="chuyengia">
      <div class="title">
               <img src="/img/cham.png" />
               <span id="binhchon" <?php if($cmd == ''){echo 'class="items"';} ?>><a href="/home/index">Bình Chọn</a></span>
               <span class="items"  <?php if($cmd == 'turn'){echo 'class="items"';} ?>><a href="/home/index?cmd=turn">Phí theo Lượt</a></span>
               <span class="items" <?php if($cmd == 'hr'){echo 'class="items"';} ?>><a href="/home/index?cmd=hr">Phí theo phút</a></span>
               <span class="items" <?php if($cmd == 'free'){echo 'class="items"';} ?>><a href="/home/index?cmd=free">Miễn phí</a></span>
               <span class="items"  <?php if($cmd == 'new'){echo 'class="items"';} ?>> <a href="/home/index?cmd=new">Mới Nhất</a></span>
               <span class="items">Quan tâm</span>
     </div>
	<div class="category-block viewForm " >
	<?php 
	if(!empty($arrDataUserReturn)){
        foreach($arrDataUserReturn AS $itemUser){
    ?>
        <div class="item-categ clearfix">
              <div id="ava"><script type="text/javascript" src="/js/skypeCheck.js"></script><a href="javascript:;" class="savethis submitData" rel="<?php echo $itemUser['id'];  ?>" ><img src="<?php echo $itemUser['avatar']; ?>" /></a></div>
               <div class="text">
                  <span class="name"><?php echo $itemUser['full_name']; ?></span><br />
                  <span class="job">Hi?n dang là sinh viên tru?ng Ð?i h?c...</span><br />
                  <!-- <img src="/img/star.jpg" /> -->
                   <?php foreach($itemUser['star_class'] AS $itemStar){?> 
                    <span class="<?php echo $itemStar; ?>">&nbsp;</span>
                    <?php } ?>
                  <span style="color: #ff8637"><b class="link-price"><?php echo $itemUser['total_vote']; ?></b></span><span>Bình ch?n </span><span style="color: #ff8637"><b class="link-price"><?php echo $itemUser['total_comment']; ?></b> </span><span>Bình lu?n</span>
               </div>
               <div class="price">
                  <span style="color: #ff8637;font-weight: bold;" >2.200d</span><br />
                  <span>&nbsp&nbsp&nbsp Phút</span>
               </div>
        </div>  
    <?php }} ?>  
    </div>
   </div>
   <div class="title-bottom">&nbsp&nbsp&nbsp</div>
</div>
      
      <script type="text/javascript">
		$(document).ready(function(){
			$(".category").hover(
			  function () {
			    $(this).addClass("category-hover");
			  },
			  function () {
			    $(this).removeClass("category-hover");
			  }
			);
		});
      
      </script>